﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QLKS10_11.DAL;
namespace QLKS10_11.BLL
{
    public class DN_taikhoan_BLL
    {
        DN_taikhoan_DAL dntk_data = new DN_taikhoan_DAL();

        public bool kiemtra(System.Windows.Forms.TextBox txt_tendangnhap, System.Windows.Forms.TextBox txt_matkhau)
        {
            if (dntk_data.kiemtra(txt_tendangnhap, txt_matkhau) > 0)
            {
                return true;
            }
            else
                return false;
        }
    }
}
